package org.jeecg.modules.scm.constant;

/**
 * 业务模块常量
 */
public interface ScmConstant {

    /**
     * 应收账款状态 - 待确认
     */
    Integer RECEIVABLES_STATUS_UN_CONFIRMED = 0;

    /**
     * 应收账款状态 - 已确认
     */
    Integer RECEIVABLES_STATUS_CONFIRMED = 1;
    /**
     * 应收账款转态 - 在流程中
     */
    Integer RECEIVABLES_STATUS_IN_FLOW = 2;

    /**
     * 应收账款转态 - 上链过程中。。。。。
     */
    Integer RECEIVABLES_STATUS_ON_CHAIN_PREPARE = 3;
    /**
     * 应收账款转态 - 已经上链
     */
    Integer RECEIVABLES_STATUS_ON_CHAIN = 4;


    /**
     * 应收账款转让申请转态 - 申请中
     */
    Integer RECEIVABLES_TRANSFER_STATUS_INAPPLICATION = 1;
    /**
     * 应收账款转让申请转态 - 流程中
     */
    Integer RECEIVABLES_TRANSFER_STATUS_INPROCESS = 2;
    /**
     * 应收账款转让申请转态 - 待签约
     */
    Integer RECEIVABLES_TRANSFER_STATUS_TOBESIGNED = 3;
    /**
     * 应收账款转让申请转态 - 已完结
     */
    Integer RECEIVABLES_TRANSFER_STATUS_FINISH = 5;
    /**
     * 应收账款转让申请转态 - 作废
     */
    Integer RECEIVABLES_TRANSFER_STATUS_INVALID = 6;


    /**
     * 应收账款转让合同转态 - 未签约
     */
    Integer RECEIVABLES_CONTRACT_STATUS_NOTSIGNED = 1;
    /**
     * 应收账款转让合同转态 - 已签约
     */
    Integer RECEIVABLES_CONTRACT_STATUS_SIGNED = 2;


    /**
     * 云链单状态 - 正常
     */
    Integer CHAIN_STATUS_NORMAL = 1;
    /**
     * 云链单状态 - 失效
     */
    Integer CHAIN_STATUS_INVALID = 2;
    /**
     * 云链单状态 - 过期
     */
    Integer CHAIN_STATUS_OVERDUE = 3;
    /**
     * 云链单状态 - 融资中
     */
    Integer CHAIN_STATUS_INFINANCING = 4;
    /**
     * 云链单状态 - 已融资
     */
    Integer CHAIN_STATUS_FINANCED = 5;
    /**
     * 云链单状态 - 转让中
     */
    Integer CHAIN_STATUS_INTRANSFER = 6;
    /**
     * 云链单状态 - 已转让
     */
    Integer CHAIN_STATUS_TRANSFERRED = 7;
    /**
     * 云链单状态 - 已拆分
     */
    Integer CHAIN_STATUS_SPLIT = 8;
    /**
     * 云链单状态 - 作废
     */
    Integer CHAIN_STATUS_NULLIFY = 9;

    /**
     * 机构类型 - 平台端
     */
    Integer ORG_TYPE_PLATFORM = 1;
    /**
     * 机构类型 - 核心企业
     */
    Integer ORG_TYPE_CORE = 2;
    /**
     * 机构类型 - 供应商
     */
    Integer ORG_TYPE_SUPPLIER = 3;
    /**
     * 机构类型 - 经销商
     */
    Integer ORG_TYPE_DISTRIBUTOR = 4;
    /**
     * 机构类型 - 其它上下游客户
     */
    Integer ORG_TYPE_UPSTREAMANDDOWNSTREAM = 5;
    /**
     * 机构类型 - 资金端
     */
    Integer ORG_TYPE_CAPITAL = 6;
}
